﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TLL.Log
{
    public class LogChange
    {
        private int id = 0;
        private DateTime? date = null;
        private string target = null;
        private string value = null;

        public DateTime? Date { get { return this.date; } }
        public string Target { get { return this.target; } }
        public string Value { get { return this.value; } }
        public int ID { get { return this.id; } }
        public LogChange(int id, DateTime date, string target, string value)
        {
            this.id = id;
            this.date = date;
            this.target = target;
            this.value = value;
        }
        public LogChange(DateTime date, string target, string value)
        {
            this.date = date;
            this.target = target;
            this.value = value;
        }
    }
}
